import Vue from 'vue'
import VueRouter from 'vue-router'
import Vuex from 'vuex'
import iView from 'iview';
import 'iview/dist/styles/iview.css';    // 使用 CSS
import api from "./api"
import navbar from './components/navbar.vue'



require('./bootstrap')

Vue.use(VueRouter)
Vue.use(Vuex)
Vue.use(iView)
Vue.use(api)

import routes from './routes'
import stores from './store'
const router = new VueRouter({
    routes
})

const store = new Vuex.Store(
	stores 
) 
	
var vm = new Vue({
    store ,
    router,
    components: {navbar}
}).$mount('#app');


